﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="User_Details.aspx.cs" Inherits="User_Details" MasterPageFile="~/Mobile.master" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<form id="Form1" runat="server">
<section>
<header id="header">
<nav id="nav">
<a href="default.aspx"><div class="branding"></div></a>
<div class="nav">
<a href="quote.aspx"><asp:Image ID="imgTop" runat="server" ImageUrl="<%$Resources:CarInsurance,TopNavBack%>" Width="49" Height="29" AlternateText="Start" BorderWidth="0" /></a>
</div>
</nav>
</header>
</section>
<section id="body">
 <div class="pad">      
 <center>
<div class="form white" style="vertical-align:top;">
<div class="topResults"></div>
<asp:Label ID="lblResultHistoryMessage" runat="server" Text=""></asp:Label>
<asp:DataList ID="dtlUserResult" DataKeyField="UserResultId" BorderColor="black" CellPadding="0" CellSpacing="0" RepeatDirection="Vertical" RepeatLayout="Table"
RepeatColumns="1" OnItemDataBound="dtlUserResult_ItemDataBound" runat="server" OnItemCommand="dtlUserResult_ItemCommand">
                                        <AlternatingItemStyle></AlternatingItemStyle>
                                        <HeaderTemplate>                                           
                                        </HeaderTemplate>
                                         <ItemTemplate>
                                            <div class="quote_container">
                                                <h5 class="blue_bg">
                                                    <asp:Label ID="lblQuoteTitle" Text="" runat="server" /></h5>
                                                <asp:Panel ID="pnlQuote" runat="server">
                                                    <div class="quote_border">
                                                        <div class="quote_lbl2">                                                          
                                                                <asp:Label runat="server" ID="lblInsuranceTypeTitle"  CssClass="quote_l1" Text="<%$Resources:CarInsurance,InsuranceType%>" />: <asp:Label ID="lblInsuranceType" Text="" CssClass="quote_l2" runat="server" />                                                            
                                                            <br /><asp:Label runat="server" ID="lblGarageTypeTitle" CssClass="quote_l1"  Text="<%$Resources:CarInsurance,GarageType2%>" />: <asp:Label ID="lblGarageType" Text="" CssClass="quote_l2" runat="server" />                                                            
                                                            <br /><asp:Label runat="server" ID="lblVehicleTypeTitle" CssClass="quote_l1"  Text="<%$Resources:CarInsurance,VehicleType%>" />: <asp:Label ID="lblVehicleType" Text="" CssClass="quote_l2" runat="server" />
                                                            <br /><asp:Label runat="server" ID="Label1"  CssClass="quote_l1" Text="<%$Resources:CarInsurance,Status%>" />: <asp:Label ID="lblStatus" Text="" CssClass="quote_l2" runat="server" />
                                                            <br /><asp:Label runat="server" ID="Label2"  CssClass="quote_l1" Text="<%$Resources:CarInsurance,QuoteDate%>" />: <asp:Label ID="lblCompleteDate" Text=""  CssClass="quote_l2" runat="server" />
                                                            <br /><asp:Label runat="server" ID="Label3"  CssClass="quote_l1" Text="<%$Resources:CarInsurance,PolicyStartDate%>" />: <asp:Label ID="lblPolicyStartDate" Text="" CssClass="quote_l2" runat="server" />
                                                         </div>                                                       
                                                        <div class="filter_btn_" runat="server" id="divCompleteButton" visible="false">
                                                              <center><asp:Button ID="ibtShowSavedQuote" runat="server" CssClass="button_viewcompletedetail" CommandName="ShowSavedQuote" /></center> 
                                                        </div>
                                                        <div class="filter_btn_" runat="server" id="divPartialButton">
                                                            <ul>
                                                                <li>
                                                                    <asp:Button ID="ibtShowResult" runat="server" CssClass="button_showresult" OnClientClick="this.className='button_w_processing'"
                                                                        CommandName="ShowResult" AlternateText="Quote Results" /></li>                                                                
                                                                <li>
                                                                    <asp:Button ID="ibtDeleteResult" runat="server" CssClass="button_deleteresult" CommandName="DeleteResult"
                                                                        AlternateText="Delete Quote" /></li>
                                                            </ul>
                                                        </div>
                                                        <div class="filter_btn_" runat="server" id="divPartialButton2" visible="false">
                                                            <ul>
                                                                <li>
                                                                    <asp:Button ID="ibtRerunQuotes" runat="server" CssClass="button_rerunquote" OnClientClick="this.className='button_w_processing'"
                                                                        CommandName="ReRunQuotes" AlternateText="Re-Run Quote" /></li>
                                                                <li>
                                                                    <asp:Button ID="ibtDeleteResult2" runat="server" runat="server" CssClass="button_deleteresult"
                                                                        AlternateText="Delete Quote" /></li>
                                                            </ul>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </ItemTemplate>
</asp:DataList>
<div style="display:none;">
<asp:DataList ID="dtlUserResultCRM" DataKeyField="CECarId" BorderColor="black" CellPadding="0" CellSpacing="0" RepeatDirection="Vertical" RepeatLayout="Table"
RepeatColumns="1" OnItemDataBound="dtlUserResultCRM_ItemDataBound" runat="server" OnItemCommand="dtlUserResultCRM_ItemCommand">
                                        <AlternatingItemStyle></AlternatingItemStyle>
                                        <HeaderTemplate>                                           
                                        </HeaderTemplate>
                                         <ItemTemplate>
                                            <div class="quote_container">
                                                <h5 class="blue_bg">
                                                    <asp:Label ID="lblQuoteTitle" Text="" runat="server" /></h5>
                                                <asp:Panel ID="pnlQuote" runat="server">
                                                    <div class="quote_border">
                                                        <div class="quote_lbl2">                                                          
                                                                <asp:Label runat="server" ID="lblInsuranceTypeTitle"  CssClass="quote_l1" Text="<%$Resources:CarInsurance,InsuranceType%>" />: <asp:Label ID="lblInsuranceType" Text="" CssClass="quote_l2" runat="server" />                                                            
                                                            <br /><asp:Label runat="server" ID="lblGarageTypeTitle" CssClass="quote_l1"  Text="<%$Resources:CarInsurance,GarageType2%>" />: <asp:Label ID="lblGarageType" Text="" CssClass="quote_l2" runat="server" />                                                            
                                                            <br /><asp:Label runat="server" ID="lblVehicleTypeTitle" CssClass="quote_l1"  Text="<%$Resources:CarInsurance,VehicleType%>" />: <asp:Label ID="lblVehicleType" Text="" CssClass="quote_l2" runat="server" />
                                                            <br /><asp:Label runat="server" ID="Label1"  CssClass="quote_l1" Text="<%$Resources:CarInsurance,Status%>" />: <asp:Label ID="lblStatus" Text="" CssClass="quote_l2" runat="server" />
                                                            <br /><asp:Label runat="server" ID="Label2"  CssClass="quote_l1" Text="<%$Resources:CarInsurance,QuoteDate%>" />: <asp:Label ID="lblCompleteDate" Text=""  CssClass="quote_l2" runat="server" />
                                                            <br /><asp:Label runat="server" ID="Label3"  CssClass="quote_l1" Text="<%$Resources:CarInsurance,PolicyStartDate%>" />: <asp:Label ID="lblPolicyStartDate" Text="" CssClass="quote_l2" runat="server" />
                                                         </div>                                                       
                                                        <div class="filter_btn_" runat="server" id="divCompleteButton" visible="false">
                                                              <center><asp:Button ID="ibtShowSavedQuote" runat="server" CssClass="button_viewcompletedetail" CommandName="ShowSavedQuote" /></center> 
                                                        </div>
                                                        
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                            <div class="quoteprice">
                                                <asp:Label ID="lblResultValue" Text="" runat="server" />
                                            </div>
                                        </ItemTemplate>
</asp:DataList>
</div>
<br />
<div class="bottom"></div>
</div>
</center>
 </div>
 </section>
</form>
</asp:Content>
